package com.lvmama.controller;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.lvmama.client.HomePageClient;

@Controller
@RequestMapping("/homePage")
public class HomePageController {
   @Autowired
   HomePageClient pageClient;
	   
	   
   @RequestMapping(value ="/hotScenicSpot")
   @ResponseBody
   public Map<String, Object> hotScenicSpot() {
    	return this.pageClient.hotScenicSpot();
   }
}
